package com.example.k8s.hello.bean.exam.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.k8s.hello.bean.exam.constant.EdConstant;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 考试详情
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@Accessors(chain = true)
@TableName("ed_exam_detail")
@Schema(description = "考试详情")
public class EdExamDetailEntity {
	@TableId
	private Long id;

	@Schema(description = "考试ID")
	private Long examId;

	@Schema(description = "用户ID")
	private Long userId;

	@Schema(description = "考试科目")
	private EdConstant.SubjectType subject;

	@Schema(description = "考试场景")
	private EdConstant.SceneType scene;

	@Schema(description = "考试项目")
	private EdConstant.ExamItem item;

	@Schema(description = "考试项目是否通过")
	private Boolean itemPass;
}
